#ifndef _DES_H__
#define	_DES_H__

typedef enum
{
    ENCRYPT,
    DECRYPT
} choose_t;

typedef char subkey_t[16][48];

void DES_MakeSubKey(const char key[8], subkey_t subKey);
void DES_DoWork(const char in[8], char out[8], subkey_t subKey, choose_t Mode);

#endif

